class StringTest {
    public static void main(String[] args) {
        String str = "abc123";
        String sub = str.substring(0,1);
        System.out.println("sub = " + sub);
    }
}
